package com.example.threaddemo.ThreadDemo07;

public class ThreadDemo07 {

    public static int num = 100;


    public static void main(String[] args) {

        MyThreadDemo07 m1 =new MyThreadDemo07();
        MyThreadDemo07 m2 =new MyThreadDemo07();


        Thread t1 =new Thread(m1);
        Thread t2 =new Thread(m2);

        t1.start();
        t2.start();
    }
}
